package com.ymk.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ymk.base.BaseVO;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 每年统计表
 * </p>
 *
 * @author 莫参商
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("stat_mch_year")
public class StatMchYear extends BaseVO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商户id
     */
    @TableField("mch_id")
    private Integer mchId;

    /**
     * 年
     */
    @TableField("year")
    private Integer year;

    /**
     * 新增会员
     */
    @TableField("member_quantity")
    private Integer memberQuantity;

    /**
     * 新增订单
     */
    @TableField("orders_quantity")
    private Integer ordersQuantity;

    /**
     * 销量
     */
    @TableField("sales")
    private BigDecimal sales;

    /**
     * 销售金额
     */
    @TableField("pay_quantity")
    private BigDecimal payQuantity;

    /**
     * 分账佣金
     */
    @TableField("commission_amount")
    private BigDecimal commissionAmount;


}
